﻿using UnityEngine;
using System.Collections;

public class BgController : MonoBehaviour {

    public void OnTriggerEnter2D(Collider2D collision)
    {
        if(collision.gameObject.activeSelf)
            collision.gameObject.SetActive(false);
    }

}
